package com.yuanfengerp.inventoryAdjustment.dao;

import com.yuanfengerp.inventoryAdjustment.entity.InventoryAdjustment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
public interface IInventoryAdjustmentDao {
    //    条件查询
    List<InventoryAdjustment> queryInventoryAdjustment(Map<String ,Object> params);
    //    新增订单
    int addInventoryAdjustment(InventoryAdjustment inventoryAdjustment);
    //    查看单条订单
    InventoryAdjustment queryInventoryAdjustmentById(String document_ID);
    //    修改单条订单
    int updateInventoryAdjustmentById(InventoryAdjustment inventoryAdjustment);
    //    删除单条订单
    int deleteInventoryAdjustment(@Param("document_ID") String document_ID);
    //    单条审核通过订单
    int updateInventoryAdjustmentAgree(@Param("document_ID") String document_ID);
    //    单条审核拒绝订单
    int updateInventoryAdjustmentRefuse(@Param("document_ID") String document_ID);
}
